﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ongoal.Quotation.Common
{
    /// <summary>
    /// 数据库实体基础类
    /// </summary>
    public class ModelBase
    {
        /// <summary>
        /// 无参构造函数
        /// </summary>
        public ModelBase()
        { 
        }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
        public int ID { get; set; }



        /// <summary>
        /// 创建人 
        ///</summary>
        [SugarColumn(ColumnName = "CreatorID")]
        public int CreatorID { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
        [SugarColumn(ColumnName = "CreateTime")]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人 
        ///</summary>
        [SugarColumn(ColumnName = "ModifyID")]
        public int? ModifyID { get; set; }
        /// <summary>
        /// 修改时间 
        ///</summary>
        [SugarColumn(ColumnName = "ModifyTime")]
        public DateTime? ModifyTime { get; set; }
    }
}
